<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<!-- CSS files-->
<link rel="stylesheet" href="../../css/menuGreen.css" />
<link rel="stylesheet" href="../../css/green.css" />

<!--Favorites Icon-->
<link rel="shortcut icon" href="../../img/favicon.ico" />

<!-- Javascript files-->
<SCRIPT src="../../javascript/menu.js"></SCRIPT>


<head>
	<title>EJC Event Management</title>
</head>

<!-- The BODY. Keyboard shortcuts javascript is called when a key is pressed -->
<body class="bodyStyle"  >
<!-- The header DIV -->
<div width="100%" height="100">
	
		<table width="100%">
			<!-- Logos -->
			<td valign="top" ><img src="../../img/eventLogoSmall.png"></td>
		</table>
	
	<!-- The Banner -->
	<table width=100% border=0 cellpadding=0 cellspacing=0>
		<tr>
			<td bgcolor=red><img width=1 height=1 alt=""></td>
		</tr>
	<tr>
	</table>
	
	<table cellpadding="1" cellspacing="0" width="100%">
        <tbody>
		<tr>
			<td class="bubble tl" width="4"></td>
			<td class="bubble" rowspan="2" style="font-family: Verdana,sans-serif; text-align: left; font-weight: bold;"><b>Login</b></td>
			<td class="bubble tr" width="4"></td>
		 </tr>
		 <tr>
			<td class="bubble bl" width="4"></td>
			<td class="bubble br" width="4"></td>
		  </tr>
	  </tbody>
	 </table>
</div>


<!-- The main DIV for the page's BODY -->
<div id="bodyDiv" >
<table width="33%" align="center" valign="center"  cellpadding=2 cellspacing=2>
				<tr>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td><logic:messagesPresent>
<br>
<div class="error"><div><div><div><div><div><div><div>
   		<html:messages id="error">
			<table  class="errorTable">
				<tr>
					<td> <bean:write name="error"/></td>
				<tr>	
			</table>
   		</html:messages>
		</div></div></div></div></div></div></div></div>
	</logic:messagesPresent></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
				</tr>
		</table>

<html:form action="/struts/login/loginAction" focus="username">
	<fmt:bundle basename="org.ejc.resources.Messages">
	<table  width="100%">
		<tr>
		<td width=33%>&nbsp;</td>
		<td width=33%>
		<table cellpadding="0"  cellspacing="0" border=0 width="100%" height="100%" >
        <tbody>
			<tr>
				<td class="sbubble tls" width="24px" height="25px"></td>
				<td class="sbubble t">&nbsp;</td>
				<td class="sbubble trs" ></td>
			</tr>
			<tr>
			<td class="sbubble l">&nbsp;</td>
				<td class="sbubble" rowspan="1" align="center" width="85%">
					<table  border=0  class="loginStyle" cellpadding=2 cellspacing=2>
						<tr>
							<td align="right"><fmt:message key="page.login.username"/></td>
							<td align="right"><html:text property="username" styleClass="inputValue" errorStyleClass="errorInput"/></td>
						</tr>
						<tr>
							<td align="center"><fmt:message key="page.login.password"/></td>
							<td align="left"><html:password property="password" styleClass="inputValue" errorStyleClass="errorInput"/></td>
						</tr>
						<tr>
							<td align="center" colspan=2><html:submit value="Login" title="Login"/></td>
							<input type="hidden" name="methodToCall" value="login" />
						</tr>
					</table>
				</td>
			<td class="sbubble r">&nbsp;</td>
		 </tr>
		 <tr>
			<td class="sbubble bls" width="24px" height="25px"></td>
			<td class="sbubble b">&nbsp;</td>
			<td class="sbubble brs"></td>
		</tr>
	  </tbody>
	 </table>
		</td>
		<td width=33%>&nbsp;
		</td>
		</tr>
	</table>
		</fmt:bundle>
</html:form>

<jsp:include page="../common/bottom.jsp" />